//
//  HNSH_CartShopModel.h
//  HNSH_SingleProject
//
//  Created by 李宇廷 on 2023/3/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HNSH_CartShopItemModel : NSObject

@property (nonatomic , copy) NSString              * uid;
@property (nonatomic , assign) BOOL              selected;
@property (nonatomic , assign) BOOL              spec_exist;
@property (nonatomic , copy) NSString              * shop_id;
@property (nonatomic , copy) NSString              * goods_id;
@property (nonatomic , assign) NSInteger               quantity;
@property (nonatomic , copy) NSString              * goods_name;
@property (nonatomic , copy) NSString              * goods_cover_url;
@property (nonatomic , copy) NSString              * spec_id;
@property (nonatomic , copy) NSString              * spec_key;
@property (nonatomic , copy) NSString              * spec_key_name;
@property (nonatomic , copy) NSString              * price;
@property (nonatomic , copy) NSString              * reward_amount;

@end

@interface HNSH_CartShopModel : NSObject

@property (nonatomic , assign) BOOL              selected;
@property (nonatomic , copy) NSString              * shop_id;
@property (nonatomic , copy) NSString              * shop_name;
@property (nonatomic , strong) NSArray <HNSH_CartShopItemModel *>              * items;

- (BOOL)cellChangeSelectedStatus;

- (void)headerChangeSelectedStatus:(BOOL)status;
@end

NS_ASSUME_NONNULL_END
